

import pyautogui

def clickp(str1,conf):
    left, top, width, height = pyautogui.locateOnScreen(str1,confidence=conf, grayscale=True)
    center = pyautogui.center((left, top, width, height))
    pyautogui.click(center)
    return ''



